/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.course.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.course.entity.CourseChapterEntity;
import org.springblade.modules.course.entity.CourseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 课程 视图实体类
 * @author
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CourseVO extends CourseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 保密等级(秘密、内文、非密)  查询用的
	 */
	@ApiModelProperty(value = "保密等级")
	private Integer secrecyLevelSearch;
	private List<CourseChapterVO> chapterList;
	private Integer termDay;  //期限天数
	private String teacherName;//老师名称
	private Long userId;//用户id
	/**
	 * 课程进行状态(0 正在学习，1完成)
	 */
	private Integer courseComplete=0;

	/**
	 * 课程分类名称
	 */
	private String categoryName;


	/**
	 * 章节数
	 */
	private Long chapters;

	/**
	 * 小节数
	 */
	private Long subs;

	/**
	 * 是否需要考核测试(0 否,1 是)
	 * 如果是1，则有课程测试
	 */
	private Integer isExam;
}
